package com.itheima_3;

public class Student {
    private void show(){
        System.out.println("私有的show方法，无法回值");
    }

    public void function1(){
        System.out.println("function1方法，无参无返回值");
    }
    public void function2(String name){
        System.out.println("function2方法，有参无返回值，参数为"+name);
    }
    public String function3(){
        System.out.println("function3方法，无惨有返回值");
        return "aaa";
    }
    public String function4(String name){
        System.out.println("function4方法，无惨有返回值,参数为"+name);
        return "aaa";
    }

}
